// Author: wsfuyibing <682805@qq.com>
// Date: 2025-05-16

package basan_follow_cancel

import (
	"server/app/http/models"
)

// Response
// 出参.
type Response struct {
	Count int  `label:"关注数"`
	Found bool `label:"已关注"`
}

func (o *Response) With(b *models.Basans, f bool) *Response {
	o.Count = b.FollowCount
	o.Found = f
	return o
}
